import request from '@/utils/request'
/*
 * 获取省市列表
 * */
export function getTree(data) {
  return request({
    url: '/index/getTree',
    method: 'post',
    data:data,
    power: false
  })
}
/*
 * 获取省份列表
 * */
export function getProvince(data) {
  return request({
    url: '/index/getProvince',
    method: 'post',
    data:data,
    power: false
  })
}


/*
 * 获取市级列表
 * */
export function getCity(data) {
  return request({
    url: '/index/getCity',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 获取区县列表
 * */
export function getDistrict(data) {
  return request({
    url: '/index/getDistrict',
    method: 'post',
    data:data,
    power: false
  })
}